﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/AdminSite.Master"
    Inherits="System.Web.Mvc.ViewPage<HYBYSoft.Company.Models.ExceptionLog>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="content">
        <p>
            <span id="sitemap">当前位置：</span>
        </p>
        <fieldset>
            <legend>
                <%= Html.Encode(Model.ExceptionMessage.Length > 60? Model.ExceptionMessage.Substring(0,60) + "..." : Model.ExceptionMessage)  %></legend>
            <div class="display-label">
                <%: Html.LabelFor(model => model.ExceptionMessage)%>：</div>
            <div class="display-field">
                <%: Model.ExceptionMessage %></div>
            <div class="display-empty">
            </div>
            <div class="display-label">
                <%: Html.LabelFor(model => model.ExceptionCategory)%>：</div>
            <div class="display-field">
                <%: Model.ExceptionCategory %></div>
            <div class="display-empty">
            </div>
            <div class="display-label">
                <%: Html.LabelFor(model => model.ControllorName)%>：</div>
            <div class="display-field">
                <%: Model.ControllorName %></div>
            <div class="display-empty">
            </div>
            <div class="display-label">
                <%: Html.LabelFor(model => model.ActionName)%>：</div>
            <div class="display-field">
                <%: Model.ActionName %></div>
            <div class="display-empty">
            </div>
            <div class="display-label">
                <%: Html.LabelFor(model => model.ExceptionOperator)%>：</div>
            <div class="display-field">
                <%: Model.ExceptionOperator %></div>
            <div class="display-empty">
            </div>
            <div class="display-label">
                <%: Html.LabelFor(model => model.ThrowTime)%>：</div>
            <div class="display-field">
                <%: String.Format("{0:g}", Model.ThrowTime) %></div>
            <div class="display-empty">
            </div>
            <div class="display-label">
                <%: Html.LabelFor(model => model.ExceptionStackTrace)%>：</div>
            <div class="display-multirow-field">
                <%: Model.ExceptionStackTrace %></div>
            <div class="display-empty">
            </div>
        </fieldset>
        <%Html.RenderPartial("partialBackLink"); %>
    </div>
</asp:Content>
